home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / dev / scott.Z / scott / WWW / NextStep / Implementation / old / HTAccess.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-18  |  695 b   |  35 lines

  1. /*        Access Manager                    HTAccess.h
  2. **        ==============
  3. */
  4.  
  5. /*    Open a file descriptor for a document
  6. **    -------------------------------------
  7. **
  8. ** On entry,
  9. **    addr        must point to the fully qualified hypertext reference.
  10. **
  11. ** On exit,
  12. **    returns        <0    Error has occured.
  13. **            >=0    Value of file descriptor or socket to be used
  14. **                 to read data.
  15. **    *pFormat    Set to the format of the file, if known.
  16. **            (See WWW.h)
  17. **
  18. */
  19. #ifdef __STDC__
  20. extern int HTOpen(char * addr, WWW_Format * format);
  21. #else
  22. extern int HTOpen();
  23. #endif
  24.  
  25.  
  26. /*    Close socket opened for reading a file
  27. **    --------------------------------------
  28. **
  29. */
  30. #ifdef __STDC__
  31. extern int HTClose(int soc);
  32. #else
  33. extern int HTClose();
  34. #endif
  35.